export interface CreateOrUpdateProjectsRequestData {
  id?: string | undefined
  name: string
  name_en?: string
  tag_en?: string
  tag?: string
  introduction?: string
  introduction_en?: string
  product_id: string
  detail?: string
  detail_en?: string
  img_list: any
  desc?: string
  desc_en?: string
  address?: string
  address_en?: string
}

export interface GetProjectsRequestData {
  /** 当前页码 */
  page: number
  /** 查询条数 */
  size: number
}

export interface GetProjectsDetailRequestData {
  /** 详情id */
  id: string
}

export interface GetProjectsData {
  id: string
  name: string
  name_en?: string
  tag_en?: string
  tag?: string
  introduction?: string
  introduction_en?: string
  product_id: string
  detail?: string
  detail_en?: string
  img_list: any
  desc?: string
  desc_en?: string
  address?: string
  address_en?: string
}
export type GetProjectsResponeseDetailData = ApiResponseData<GetProjectsData>

export type GetProjectsResponseData = ApiResponseData<{
  list: GetProjectsData[]
  total: number
  page: number
}>
